﻿using AutoMapper;
using Yunxsoft.Junlin.Entities.Books;
using Yunxsoft.Junlin.Services.Dtos.Books;

namespace Yunxsoft.Junlin.ObjectMapping;

public class JunlinAutoMapperProfile : Profile
{
    public JunlinAutoMapperProfile()
    {
        CreateMap<Book, BookDto>();
        CreateMap<CreateUpdateBookDto, Book>();
        CreateMap<BookDto, CreateUpdateBookDto>();
        /* Create your AutoMapper object mappings here */
    }
}
